<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org" >
<meta charset="utf-8">
<head th:include="common/include :: header"></head>
<body class="gray-bg">
	<div class="ibox float-e-margins">
		<div class="ibox-content">
			<form class="form-horizontal m-t" id="signupForm">
				<div class="row">

                    <!--第一列-->
					<div class="col-sm-6 b-r">
						<input id="id" name="id" type="hidden">

						<div class="form-group" underline="true">
							<label class="col-sm-3 control-label">简称：</label>
							<div class="col-sm-8">
								<input id="simplename" name="simplename" class="form-control" type="text">
							</div>
						</div>
						<div class="hr-line-dashed"></div>

						<div class="form-group" underline="true">
							<label class="col-sm-3 control-label">全称：</label>
							<div class="col-sm-8">
                                <input id="fullname" name="fullname" class="form-control" type="text">
							</div>
						</div>
						<div class="hr-line-dashed"></div>

						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="submit" class="btn btn-primary" icon="fa-eraser">提交</button>
								<button class="btn btn-danger"  icon="fa-eraser" onclick="fclose()">取消</button>
							</div>
						</div>
					</div>

                    <!--第二列-->
					<div class="col-sm-6 b-r">

						<div class="form-group" underline="true">
							<label class="col-sm-3 control-label">上级部门：</label>
							<div class="col-sm-8">
								<input id="pid" name="pid" class="hidden">
								<input id="deptName" name="deptName" class="form-control" type="text"
									   style="cursor: pointer;" onclick="openDept()"
									   readonly="readonly" placeholder="所属部门">
							</div>
						</div>
						<div class="hr-line-dashed"></div>

					</div>
				</div>
			</form>
		</div>
	</div>
    <div th:include="common/include :: footer"></div>
    <script type="text/javascript" th:src="@{/project/dept/dept_add.js}"></script>
</body>
</html>
